package org.huifei.a20_visitor;

/**
 * @author: huifei
 * @date: 2017-09-04 13:34
 */
public class MyVisitor implements Visitor{
    @Override
    public void visit(Subject sub) {
        System.out.println("visit the subject："+sub.getSubject());
    }
}
